package cn.js.sip.rat.system.service;

import cn.js.sip.rat.system.entity.SysRoleEntity;
import cn.js.sip.rat.system.page.TableDataInfo;

import java.util.List;

/**
 * @ClassName: cn.js.sip.rat.system.service
 * @Description: TODO
 * @author: xuxiaoli
 * @Date: 2019-12-28   12:08
 */
public interface SysRoleService extends BaseService<SysRoleEntity>{

    List<SysRoleEntity> getRolesByUserId(String userId);

    TableDataInfo query(SysRoleEntity entity);

    List<SysRoleEntity> getAll();
}
